/**
 * 
 */
package com.yidu.drug.service;

import java.util.List;
import java.util.Map;

import com.yidu.drug.model.DrugModel;
import com.yidu.drug.model.ManufacturePlanModel;
import com.yidu.drug.model.ProductionModel;

/**
 * 制造计划Service接口
 * @author 王志伟
 * @date 2018年9月5日 下午7:40:21
 * @version 1.0
 */
public interface ManufacturePlanService {
	int deleteByPrimaryKey(String mpId);

    int insert(ManufacturePlanModel record);

    int insertSelective(ManufacturePlanModel record);

    ManufacturePlanModel selectByPrimaryKey(String mpId);

    int updateByPrimaryKeySelective(ManufacturePlanModel record);

    int updateByPrimaryKey(ManufacturePlanModel record);
    
    Map<String, Object> findAll(String limit, String page, String proId,String drugId);
	
	List<ProductionModel> findAllsProduction();
	
	List<DrugModel> findAllsDrug();
	
	Map<String, Object> findAllss(String proId);
	
	int mfpAdd(String a);
}
